<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>王金菊女士生日快乐</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        /* 页面基础样式 */
        body {
            background: linear-gradient(135deg, #ff9a9e, #fbc2eb);
            font-family: 'Microsoft YaHei', 楷体;
            color: #fff;
            text-align: center;
            padding: 20px;
            overflow: hidden;
        }
        
        /* 图片容器 */
        .photo-frame {
            width: 200px;
            height: 200px;
            margin: 20px auto;
            border: 5px solid #fff;
            border-radius: 50%;
            overflow: hidden;
            box-shadow: 0 0 20px rgba(0,0,0,0.3);
            animation: float 4s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        
        /* 图片样式 */
        .photo-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* 祝福文字 */
        .message {
            margin-top: 30px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        .message h1 {
            font-size: 2em;
            margin: 10px 0;
        }
        .message p {
            font-size: 1.2em;
            margin: 5px 0;
        }
        
        /* 花瓣飘落效果 */
        .petals {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }
        .petal {
            position: absolute;
            color: #ffeb3b;
            animation: fall linear infinite;
        }
        @keyframes fall {
            to { transform: translateY(100vh) rotate(360deg); }
        }
    </style>
</head>
<body>
    <!-- 图片展示区 -->
    <div class="photo-frame">
        <img src="https://p0.meituan.net/biztone/299ff3e89380a8b0cf4d6ee70c0fcaff3774702.jpg%40watermark%3D0" alt="生日照片">
    </div>

    <!-- 祝福文字 -->
    <div class="message">
        <h1>🎉 生日快乐 🎂</h1>
        <h2>致 王金菊女士：</h2>
        <p>农历二月初四吉日</p>
        <p>✨ 岁岁平安 ✨</p>
        <p>🎁 福寿安康 🎁</p>
        <p>🌸 吉祥如意 🌸</p>
    </div>

    <!-- 花瓣特效 -->
    <div class="petals" id="petals"></div>

    <script>
        // 动态花瓣效果
        function createPetals() {
            const petals = document.getElementById('petals');
            for(let i=0; i<20; i++) {
                const petal = document.createElement('div');
                petal.className = 'petal';
                petal.style.left = Math.random()*100 + '%';
                petal.style.animationDuration = Math.random()*3 + 2 + 's';
                petal.style.opacity = Math.random();
                petal.innerHTML = '🌸';
                petals.appendChild(petal);
            }
        }
        createPetals();

        // 点击特效
        document.body.addEventListener('click', function(e) {
            const spark = document.createElement('div');
            spark.style.cssText = `
                position: absolute;
                left: ${e.clientX-15}px;
                top: ${e.clientY-15}px;
                width: 30px;
                height: 30px;
                background: #ffeb3b;
                border-radius: 50%;
                animation: spark 0.8s linear;
            `;
            document.body.appendChild(spark);
            setTimeout(() => spark.remove(), 800);
        });
    </script>
</body>
</html>